From a0b53de2426bc8ac4e9429961f66564eb2fdaf6f Mon Sep 17 00:00:00 2001 From: Andrew Cooper Date: Fri, 7 Apr 2017 16:38:12 +0100 Subject: [PATCH] x86/svm: Fix indentation in svm_vmcb_restore() Inroduced by c/s b706e1c6af274, spotted by Coverity. Signed-off-by: Andrew Cooper --- xen/arch/x86/hvm/svm/svm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xen/arch/x86/hvm/svm/svm.c b/xen/arch/x86/hvm/svm/svm.c index a088fd7f88..1f8aca6cd9 100644 --- a/xen/arch/x86/hvm/svm/svm.c +++ b/xen/arch/x86/hvm/svm/svm.c @@ -271,8 +271,8 @@ static int svm_vmcb_restore(struct vcpu *v, struct hvm_hw_cpu *c) if ( c->pending_valid ) { - if ( (c->pending_type == 1) || (c->pending_type > 6) || - (c->pending_reserved != 0) ) + if ( (c->pending_type == 1) || (c->pending_type > 6) || + (c->pending_reserved != 0) ) { dprintk(XENLOG_ERR, "%pv: Invalid pending event %#"PRIx32"\n", v, c->pending_event); -- 2.30.2